﻿namespace JESAI.Application.Abstractions.Dtos
{
    /// <summary>
    /// 分页入参基类
    /// </summary>
    public class BasePageInput
    {
        public BasePageInput()
        {
            PageIndex = 1;
            PageSize = 20;
        }
        /// <summary>
        /// 当前分页
        /// </summary>
        public int PageIndex { set; get; }
        /// <summary>
        /// 每页数量
        /// </summary>
        public int PageSize { set; get; }
    }

    public class BasePageInput<T> : BasePageInput
    {
        public T Params { set; get; } = default(T);
    }
}
